package adventure.placeable;

import adventure.placeable.trigger.Trigger;
import adventure.placeable.trigger.TriggerEdit;

/**
 *
 * @author Michael Hanns
 *
 */
public interface PlaceableManagerEdit extends PlaceableManager {

    public void newItem();

    public void newItem(ItemEdit i);

    public void newMobile();

    public void newMobile(MobileEdit m);

    public void newTrigger();

    public void newTrigger(TriggerEdit t);

    public boolean editItem(int id, String field, String val);

    public boolean editItem(int id, String field, int val);

    public boolean editItem(int id, String field, boolean val);

    public boolean addItemUnlocksProperty(int id, int x, int y, int z, char dir);

    public boolean addItemUnlocksProperty(int id, ItemUnlocks i);

    public boolean removeItemUnlocksProperties(int id);

    public boolean editMobile(int id, String field, String val);

    public boolean editMobile(int id, String field, int val);

    public boolean editMobile(int id, String field, double val);
    
    public boolean editMobile(int id, String field, boolean val);

    public boolean editTrigger(Trigger t);

    public boolean deleteItem(int id);

    public boolean deleteMobile(int id);

    public boolean deleteTrigger(int id);


}
